home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13878 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.inap.net!news1!ind-001-236-76
  3. From: dlmiller@iquest.net (Doug Miller)
  4. Subject: Re:Sorting Character Arrays.
  5. X-Nntp-Posting-Host: ind-001-236-76.iquest.net
  6. Message-ID: <DpnFGq.Aq2@iquest.net>
  7. Sender: news@iquest.net (News Admin)
  8. Organization: IQuest Network Services
  9. X-Newsreader: News Xpress Version 1.0 Beta #2.1
  10. References: <Pine.OSF.3.91.960410170926.24676A-100000@bud.cc.swin.edu.au>
  11. Date: Wed, 10 Apr 1996 13:46:03 GMT
  12.  
  13. Vincent Edward Scaturchio <901380@bud.cc.swin.edu.au> wrote:
  14. >Hi
  15. >I have three problems in this area, I hope someone is willing to help.
  16. >Problem 1: Creating random strings of up to 5 letters of alphabet.
  17. >        2: Placing these strings into an array.
  18. >        3: Sorting the array (i.e.Quicksort) into alphabetical order.
  19. >I've tried numerous times and am no closer. I feel competent when it
  20. >comes to doing the above in numbers but strings??
  21. >I've been using strcmp and strcpy in the sorting section of my program to
  22. >compare different strings and swap them but alas to no avail. All I
  23. >receive is GPE faults from the processor. This is a first time post to
  24. >this group, any help would be appreciated.
  25. >
  26. >Email: Flymo@bud.swin.edu.au
  27. >
  28. Sounds suspiciously like an uninitialized pointer.  Post code!
  29.